import numpy as np


# from numba import jit

# assume x of shape [2, L]

def _normalize(x):
    return (x - np.mean(x)) / np.std(x)


class Normalize:
    def __init__(self):
        return

    def __call__(self, x):
        return _normalize(x)
